file chooser: Don't react to entry changes in select-folder mode
authorMatthias Clasen <mclasen@redhat.com>
Sat, 22 Mar 2014 02:06:24 +0000 (22:06 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 22 Mar 2014 02:08:50 +0000 (22:08 -0400)
commitc99935a54076ab4fcc2349530f21b6315db9f87e
tree8e1f1e7a88c78552e0d9f981f3260d373d4f5e52
parent42b7122c87d20d4b3267173d494bf8ac6091b51d
file chooser: Don't react to entry changes in select-folder mode

In select-folder mode, we are putting the directory name into the
entry ourselves. Then the entry appends a /. If we react to this
'spontaneous' change of the entry by clearing the list selection,
this will in turn make us clear the entry. We don't want that.

https://bugzilla.gnome.org/show_bug.cgi?id=726855
gtk/gtkfilechooserwidget.c